package net.oschina.app.protocol.explore;

import net.oschina.app.bean2.ExploreEventBean;
import net.oschina.app.protocol.AccessProtocol;
import net.oschina.app.protocol.AccessService;

import retrofit2.Call;

/**
 * Created by 张运湘 on 2017/1/16.
 */

public class RecentlyEventProtocol extends AccessProtocol<ExploreEventBean> {
    @Override
    protected void callNet(AccessService accessService) {
       Call<ExploreEventBean> call = accessService.getEventData();
      call.enqueue(callback);
    }
}
